@import 'vars';
@import 'mixins';
@import 'font-awesome.min.css';
@import url('http://fonts.googleapis.com/css?family=Roboto:100,300,100italic,300italic');

/*
	Landed by HTML5 UP
	html5up.net | @n33co
	Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
*/

$size-wrapper-pad-tb: 6em;
$size-wrapper-pad-lr: 3em;

/* Basic */

	html, body {
		background: $color-bg;
	}

	body {
		&.is-loading {
			*, *:before, *:after {
				@include vendor-property('animation', 'none !important');
				@include vendor-property('transition', 'none !important');
			}
		}
	}

	body, input, select, textarea {
		color: $color-fg;
		font-family: $font-family;
		font-size: 15pt;
		font-weight: $font-weight;
		line-height: 1.75em;
	}

	a {
		@include vendor-property('transition', 'border-color #{$duration-transition} ease-in-out, color #{$duration-transition} ease-in-out');
		border-bottom: dotted 1px;
		color: $color-accent1-bg;
		text-decoration: none;

		&:hover {
			color: $color-accent1-bg !important;
			border-bottom-color: transparent;
		}
	}

	strong, b {
		color: $color-fg-bold;
		font-weight: $font-weight-bold;
	}

	em, i {
		font-style: italic;
	}

	p {
		margin: 0 0 $size-element-margin 0;
	}

	h1, h2, h3, h4, h5, h6 {
		color: $color-fg-bold;
		font-weight: $font-weight-bold;
		line-height: 1em;
		margin: 0 0 ($size-element-margin * 0.5) 0;

		a {
			color: inherit;
			border: 0;
		}
	}

	h2 {
		font-size: 2em;
		line-height: 1.5em;
		letter-spacing: -0.025em;
	}

	h3 {
		font-size: 1.35em;
		line-height: 1.5em;
	}

	h4 {
		font-size: 1.1em;
		line-height: 1.5em;
	}

	h5 {
		font-size: 0.9em;
		line-height: 1.5em;
	}

	h6 {
		font-size: 0.7em;
		line-height: 1.5em;
	}

	sub {
		font-size: 0.8em;
		position: relative;
		top: 0.5em;
	}

	sup {
		font-size: 0.8em;
		position: relative;
		top: -0.5em;
	}

	hr {
		border: 0;
		border-bottom: solid 1px $color-border;

		// This is the *only* instance where we need to rely on margin collapse.
		margin: ($size-element-margin * 1.5) 0;

		&.major {
			margin: ($size-element-margin * 2) 0;
		}
	}

	blockquote {
		border-left: solid 4px $color-border;
		font-style: italic;
		margin: 0 0 $size-element-margin 0;
		padding: 0.5em 0 0.5em 2em;
	}

	code {
		background: $color-border-bg;
		border-radius: $size-border-radius;
		font-family: $font-family-fixed;
		font-size: 0.9em;
		margin: 0 0.25em;
		padding: 0.25em 0.65em;
	}

	pre {
		-webkit-overflow-scrolling: touch;
		font-family: $font-family-fixed;
		font-size: 0.9em;
		margin: 0 0 $size-element-margin 0;

		code {
			display: block;
			line-height: 1.75em;
			padding: 1em 1.5em;
			overflow-x: auto;
		}
	}

	.align-left {
		text-align: left;
	}

	.align-center {
		text-align: center;
	}

	.align-right {
		text-align: right;
	}

/* Loader */

	// Spinner

		@include vendor-keyframes('spinner-show') {
			0% { opacity: 0; }
			100% { opacity: 1; }
		}

		@include vendor-keyframes('spinner-hide') {
			0% { color: $color-fg-lighter; z-index: $zindex-loader-overlay + 1; @include vendor-property('transform', 'scale(1) rotate(0deg)'); }
			99% { color: $color-bg; z-index: $zindex-loader-overlay + 1; @include vendor-property('transform', 'scale(0.5) rotate(360deg)'); }
			100% { color: $color-bg; z-index: -1; @include vendor-property('transform', 'scale(0.5) rotate(360deg)'); }
		}

		@include vendor-keyframes('spinner-rotate') {
			0% { @include vendor-property('transform', 'scale(1) rotate(0deg)'); }
			100% { @include vendor-property('transform', 'scale(1) rotate(360deg)'); }
		}

	// Overlay

		@include vendor-keyframes('overlay-hide') {
			0% { opacity: 1; z-index: $zindex-loader-overlay; }
			15% { opacity: 1; z-index: $zindex-loader-overlay; }
			99% { opacity: 0; z-index: $zindex-loader-overlay; }
			100% { opacity: 0; z-index: -1; }
		}

	body.landing {
		@include icon;

		// Spinner (inactive)

			&:before {
				@include vendor-property('animation', 'spinner-show 1.5s 1 0.25s ease forwards, spinner-hide 0.25s ease-in-out forwards !important');
				@include vendor-property('transform-origin', '50% 50%');

				color: $color-fg-lighter;
				content: '\f1ce';
				cursor: default;
				display: block;
				font-size: 2em;
				height: 2em;
				left: 50%;
				line-height: 2em;
				margin: -1em 0 0 -1em;
				opacity: 0;
				position: fixed;
				text-align: center;
				top: 50%;
				width: 2em;
				z-index: -1;
			}

		// Overlay (inactive)

			&:after {
				@include vendor-property('animation', 'overlay-hide #{$duration-landing-fadein} ease-in forwards !important');
				background: $color-bg;
				content: '';
				display: block;
				height: 100%;
				left: 0;
				opacity: 0;
				position: fixed;
				top: 0;
				width: 100%;
				z-index: -1;
			}

		&.is-loading {

			// Spinner (active)

				&:before {
					@include vendor-property('animation', 'spinner-show 1.5s 1 0.25s ease forwards, spinner-rotate 0.75s infinite linear !important');
					z-index: $zindex-loader-overlay + 1;
				}

			// Overlay (active)

				&:after {
					@include vendor-property('animation', 'none !important');
					opacity: 1;
					z-index: $zindex-loader-overlay;
				}

		}
	}

	@media (-webkit-min-device-pixel-ratio: 2) {
		body.landing:before {
			line-height: 2.025em;
		}
	}

/* Section/Article */

	section, article {
		&.special {
			text-align: center;
		}
	}

	header {
		p {
			color: $color-fg-bold;
			position: relative;
			margin: 0 0 ($size-element-margin * 0.75) 0;
		}

		h2 + p {
			font-size: 1.25em;
			margin-top: ($size-element-margin * -0.5);
			line-height: 1.75em;
		}

		h3 + p {
			font-size: 1.1em;
			margin-top: ($size-element-margin * -0.4);
			line-height: 1.75em;
		}

		h4 + p,
		h5 + p,
		h6 + p {
			font-size: 0.9em;
			margin-top: ($size-element-margin * -0.3);
			line-height: 1.5em;
		}

		&.major {
			margin: 0 0 ($size-element-margin * 2) 0;
			position: relative;
			text-align: center;

			&:after {
				background: $color-accent1-bg;
				content: '';
				display: inline-block;
				height: 0.2em;
				max-width: 20em;
				width: 75%;
			}
		}
	}

	footer {
		&.major {
			margin: ($size-element-margin * 2) 0 0 0;
		}
	}

/* Form */

	form {
		margin: 0 0 $size-element-margin 0;
	}

	label {
		color: $color-fg-bold;
		display: block;
		font-size: 0.9em;
		font-weight: $font-weight-bold;
		margin: 0 0 ($size-element-margin * 0.5) 0;
	}

	input[type="text"],
	input[type="password"],
	input[type="email"],
	select,
	textarea {
		@include vendor-property('appearance', 'none');
		@include vendor-property('transition', 'border-color #{$duration-transition} ease-in-out');
		background: transparent;
		border-radius: $size-border-radius;
		border: solid 1px $color-border;
		color: inherit;
		display: block;
		outline: 0;
		padding: 0 1em;
		text-decoration: none;
		width: 100%;

		&:invalid {
			box-shadow: none;
		}

		&:focus {
			border-color: $color-accent1-bg;
		}
	}

	.select-wrapper {
		@include icon;
		display: block;
		position: relative;

		&:before {
			color: $color-border;
			content: '\f078';
			display: block;
			height: $size-element-height;
			line-height: $size-element-height;
			pointer-events: none;
			position: absolute;
			right: 0;
			text-align: center;
			top: 0;
			width: $size-element-height;
		}

		select::-ms-expand {
			display: none;
		}
	}

	input[type="text"],
	input[type="password"],
	input[type="email"],
	select {
		height: $size-element-height;
	}

	textarea {
		padding: 0.75em 1em;
	}

	select {
		option {
			background-color: $color-bg;
			color: $color-fg-bold;
		}

		&:focus {
			&::-ms-value {
				background: transparent;
			}
		}
	}

	input[type="checkbox"],
	input[type="radio"], {
		@include vendor-property('appearance', 'none');
		display: block;
		float: left;
		margin-right: -2em;
		opacity: 0;
		width: 1em;
		z-index: -1;

		& + label {
			@include icon;
			color: $color-fg;
			cursor: pointer;
			display: inline-block;
			font-size: 1em;
			font-weight: $font-weight;
			padding-left: ($size-element-height * 0.6) + 0.75em;
			padding-right: 0.75em;
			position: relative;

			&:before {
				border-radius: $size-border-radius;
				border: solid 1px $color-border;
				content: '';
				display: inline-block;
				height: ($size-element-height * 0.6);
				left: 0;
				line-height: ($size-element-height * 0.575);
				position: absolute;
				text-align: center;
				top: 0;
				width: ($size-element-height * 0.6);
			}
		}

		&:checked + label {
			&:before {
				background: $color-border2-bg;
				color: $color-fg-bold;
				content: '\f00c';
			}
		}

		&:focus + label {
			&:before {
				border-color: $color-accent1-bg;
			}
		}
	}

	input[type="checkbox"] {
		& + label {
			&:before {
				border-radius: $size-border-radius;
			}
		}
	}

	input[type="radio"] {
		& + label {
			&:before {
				border-radius: 100%;
			}
		}
	}

	::-webkit-input-placeholder {
		color: $color-fg-light !important;
		opacity: 1.0;
	}

	:-moz-placeholder {
		color: $color-fg-light !important;
		opacity: 1.0;
	}

	::-moz-placeholder {
		color: $color-fg-light !important;
		opacity: 1.0;
	}

	:-ms-input-placeholder {
		color: $color-fg-light !important;
		opacity: 1.0;
	}

	.formerize-placeholder {
		color: $color-fg-light !important;
		opacity: 1.0;
	}

/* Box */

	.box {
		border-radius: $size-border-radius;
		border: solid 1px $color-border;
		margin-bottom: $size-element-margin;
		padding: 1.5em;

		> :last-child,
		> :last-child > :last-child,
		> :last-child > :last-child > :last-child {
			margin-bottom: 0;
		}

		&.alt {
			border: 0;
			border-radius: 0;
			padding: 0;
		}
	}

/* Icon */

	.icon {
		@include icon;
		border-bottom: none;
		position: relative;

		> .label {
			display: none;
		}

		&.alt {
			@include line-icon;
		}

		&.major {
			background: $color-accent2-bg;
			border-radius: 100%;
			cursor: default;
			display: inline-block;
			height: 6em;
			line-height: 6em;
			margin: 0 0 $size-element-margin 0;
			text-align: center;
			width: 6em;

			&:before {
				font-size: 2.25em;
			}

			&.alt {
				@include line-icon($color-accent2-bg);
			}
		}
	}

/* Image */

	.image {
		border-radius: $size-border-radius;
		border: 0;
		display: inline-block;
		position: relative;
		overflow: hidden;

		&:before {
			content: '';
			display: block;
			position: absolute;
			left: 0;
			top: 0;
			background-image: url('images/overlay.png');
			width: 100%;
			height: 100%;
			z-index: 1;
		}

		img {
			border-radius: $size-border-radius;
			display: block;
		}

		&.left {
			float: left;
			margin: 0 1.5em 1em 0;
			top: 0.25em;
		}

		&.right {
			float: right;
			margin: 0 0 1em 1.5em;
			top: 0.25em;
		}

		&.left,
		&.right {
			max-width: 40%;

			img {
				width: 100%;
			}
		}

		&.fit {
			display: block;
			margin: 0 0 $size-element-margin 0;
			width: 100%;

			img {
				width: 100%;
			}
		}
	}

/* List */

	ol {
		list-style: decimal;
		margin: 0 0 $size-element-margin 0;
		padding-left: 1.25em;

		li {
			padding-left: 0.25em;
		}
	}

	ul {
		list-style: disc;
		margin: 0 0 $size-element-margin 0;
		padding-left: 1em;

		li {
			padding-left: 0.5em;
		}

		&.alt {
			list-style: none;
			padding-left: 0;

			li {
				border-top: solid 1px $color-border;
				padding: 0.5em 0;

				&:first-child {
					border-top: 0;
					padding-top: 0;
				}
			}
		}

		&.icons {
			cursor: default;
			list-style: none;
			padding-left: 0;

			li {
				display: inline-block;
				height: 2.5em;
				line-height: 2.5em;
				padding: 0 0.5em;

				.icon {
					font-size: 0.8em;

					&:before {
						font-size: 2em;
					}
				}
			}
		}

		&.actions {
			cursor: default;
			list-style: none;
			padding-left: 0;

			li {
				display: inline-block;
				padding: 0 ($size-element-margin * 0.5) 0 0;
				vertical-align: middle;

				&:last-child {
					padding-right: 0;
				}
			}

			&.small {
				li {
					padding: 0 ($size-element-margin * 0.25) 0 0;
				}
			}

			&.vertical {
				li {
					display: block;
					padding: ($size-element-margin * 0.5) 0 0 0;

					&:first-child {
						padding-top: 0;
					}

					> * {
						margin-bottom: 0;
					}
				}

				&.small {
					li {
						padding: ($size-element-margin * 0.25) 0 0 0;

						&:first-child {
							padding-top: 0;
						}
					}
				}
			}

			&.fit {
				display: table;
				margin-left: ($size-element-margin * -0.5);
				padding: 0;
				table-layout: fixed;
				width: calc(100% + #{($size-element-margin * 0.5)});

				li {
					display: table-cell;
					padding: 0 0 0 ($size-element-margin * 0.5);

					> * {
						margin-bottom: 0;
					}
				}

				&.small {
					margin-left: ($size-element-margin * -0.25);
					width: calc(100% + #{($size-element-margin * 0.25)});

					li {
						padding: 0 0 0 ($size-element-margin * 0.25);
					}
				}
			}
		}
	}

	dl {
		margin: 0 0 $size-element-margin 0;
	}

/* Table */

	.table-wrapper {
		-webkit-overflow-scrolling: touch;
		overflow-x: auto;
	}

	table {
		margin: 0 0 $size-element-margin 0;
		width: 100%;

		tbody {
			tr {
				border: solid 1px $color-border;
				border-left: 0;
				border-right: 0;

				&:nth-child(2n + 1) {
					background-color: $color-border-bg;
				}
			}
		}

		td {
			padding: 0.75em 0.75em;
		}

		th {
			color: $color-fg-bold;
			font-size: 0.9em;
			font-weight: $font-weight-bold;
			padding: 0 0.75em 0.75em 0.75em;
			text-align: left;
		}

		thead {
			border-bottom: solid 1px $color-border;
		}

		tfoot {
			border-top: solid 1px $color-border;
		}

		&.alt {
			border-collapse: separate;

			tbody {
				tr {
					td {
						border: solid 1px $color-border;
						border-left-width: 0;
						border-top-width: 0;

						&:first-child {
							border-left-width: 1px;
						}
					}

					&:first-child {
						td {
							border-top-width: 1px;
						}
					}
				}
			}

			thead {
				border-bottom: 0;
			}

			tfoot {
				border-top: 0;
			}
		}
	}

/* Button */

	input[type="submit"],
	input[type="reset"],
	input[type="button"],
	.button {
		@include vendor-property('appearance', 'none');
		@include vendor-property('transition', 'background-color #{$duration-transition} ease-in-out, color #{$duration-transition} ease-in-out, box-shadow #{$duration-transition} ease-in-out');
		background-color: transparent;
		border-radius: $size-border-radius;
		border: 0;
		box-shadow: inset 0 0 0 1px $color-border;
		color: $color-fg-bold !important;
		cursor: pointer;
		display: inline-block;
		font-weight: $font-weight-bold;
		height: $size-element-height;
		line-height: $size-element-height;
		padding: 0 2.25em;
		text-align: center;
		text-decoration: none;
		white-space: nowrap;

		&:hover, &:active {
			box-shadow: inset 0 0 0 1px $color-accent1-bg;
			color: $color-accent1-bg !important;
		}

		&:active {
			background-color: transparentize($color-accent1-bg, 0.85);
		}

		&.icon {
			&:before {
				margin-right: 0.5em;
			}
		}

		&.fit {
			display: block;
			margin: 0 0 ($size-element-margin * 0.5) 0;
			width: 100%;
		}

		&.small {
			font-size: 0.8em;
		}

		&.big {
			font-size: 1.35em;
		}

		&.special {
			background-color: $color-accent1-bg;
			box-shadow: none;
			color: $color-fg-bold !important;

			&:hover {
				background-color: lighten($color-accent1-bg, 5);
			}

			&:active {
				background-color: darken($color-accent1-bg, 5);
			}
		}

		&.disabled,
		&:disabled {
			background-color: $color-border !important;
			box-shadow: none !important;
			color: $color-fg-bold !important;
			cursor: default;
			opacity: 0.25;
		}
	}

/* Goto Next */

	.goto-next {
		border: 0;
		bottom: 0;
		display: block;
		height: 5em;
		left: 50%;
		margin: 0 0 0 -5em;
		overflow: hidden;
		position: absolute;
		text-indent: 10em;
		white-space: nowrap;
		width: 10em;
		z-index: 1;

		&:before {
			background-image: url('images/arrow.svg');
			background-position: center center;
			background-repeat: no-repeat;
			background-size: contain;
			content: '';
			display: block;
			height: 1.5em;
			left: 50%;
			margin: -0.75em 0 0 -1em;
			position: absolute;
			top: 50%;
			width: 2em;
			z-index: 1;
		}
	}

/* Spotlight */

	.spotlight {
		background-attachment:	fixed;
		background-position:	center center;
		background-size:		cover;
		box-shadow: 0 0.25em 0.5em 0 rgba(0,0,0,0.25);
		height: 100vh;
		overflow: hidden;
		position: relative;

		// Force spotlights to stack in reverse order (needed for our box
		// shadows to overlap stuff in the right direction).
		@for $i from 1 through $max-spotlight {
			&:nth-last-of-type(#{$i}) {
				z-index: #{$i};
			}
		}

		&:before {
			background-image: url('images/overlay.png');
			content: '';
			display: block;
			height: 100%;
			left: 0;
			top: 0;
			width: 100%;
		}

		.image.main {
			display: none;

			img {
				position: relative;
			}
		}

		.content {
			@include vendor('transform', 'translate(0,0)');
			@include vendor('transition', 'transform 1s ease, opacity 1s ease');
			background: $color-bg-transparent;
			border-style: solid;
			opacity: 1;
			position: absolute;
		}

		.goto-next {
			@include vendor('transform', 'translate(0,0)');
			@include vendor('transition', 'transform 0.75s ease, opacity 1s ease-in');
			@include vendor-property('transition-delay', '0.5s');
			opacity: 1;
		}

		&.top, &.bottom {
			.content {
				left: 0;
				padding: ($size-wrapper-pad-tb * 0.85) 0 (($size-wrapper-pad-tb * 0.85) - $size-element-margin) 0;
				width: 100%;
			}
		}

		&.top {
			.content {
				border-bottom-width: 0.35em;
				top: 0;
			}
		}

		&.bottom {
			.content {
				border-top-width: 0.35em;
				bottom: 0;
			}
		}

		&.left, &.right {
			.content {
				height: 101%;
				padding: $size-wrapper-pad-tb $size-wrapper-pad-lr;
				top: 0;
				width: 28em;
			}
		}

		&.left {
			.content {
				border-right-width: 0.35em;
				left: 0;
			}
		}

		&.right {
			.content {
				border-left-width: 0.35em;
				right: 0;
			}
		}

		&.style1 {
			.content {
				border-color: $color-accent1-bg;
			}
		}

		&.style2 {
			.content {
				border-color: $color-accent3-bg;
			}
		}

		&.style3 {
			.content {
				border-color: $color-accent4-bg;
			}
		}

		&.inactive {
			.content {
				opacity: 0;
			}

			.goto-next {
				@include vendor-property('transform', 'translate(0,1.5em)');
				opacity: 0;
			}

			&.top {
				.content {
					@include vendor-property('transform', 'translate(0,-5em)');
				}
			}

			&.bottom {
				.content {
					@include vendor-property('transform', 'translate(0,5em)');
				}
			}

			&.left {
				.content {
					@include vendor-property('transform', 'translate(-5em,0)');
				}
			}

			&.right {
				.content {
					@include vendor-property('transform', 'translate(5em,0)');
				}
			}
		}
	}

	body.is-touch {
		.spotlight {
			background-attachment: scroll;
		}
	}

/* Wrapper */

	.wrapper {
		padding: $size-wrapper-pad-tb 0 ($size-wrapper-pad-tb - $size-element-margin) 0;

		&.style1 {
		}

		&.style2 {
			background: $color-accent1-bg;

			input[type="text"],
			input[type="password"],
			input[type="email"],
			select,
			textarea {
				&:focus {
					border-color: $color-border2;
				}
			}

			input[type="submit"],
			input[type="reset"],
			input[type="button"],
			.button {
				&:hover, &:active {
					background-color: $color-border-bg !important;
					box-shadow: inset 0 0 0 1px $color-border2 !important;
					color: $color-fg-bold !important;
				}

				&:active {
					background-color: $color-border2-bg !important;
				}

				&.special {
					background-color: $color-fg-bold;
					color: $color-accent1-bg !important;

					&:hover, &:active {
						background-color: $color-border-bg !important;
						box-shadow: inset 0 0 0 1px $color-border2 !important;
						color: $color-fg-bold !important;
					}

					&:active {
						background-color: $color-border2-bg !important;
					}
				}
			}
		}

		&.fade-down {
			> .container {
				@include vendor('transform', 'translate(0,0)');
				@include vendor('transition', 'transform 1s ease, opacity 1s ease');
				opacity: 1;
			}

			&.inactive {
				> .container {
					@include vendor('transform', 'translate(0,-1em)');
					opacity: 0;
				}
			}
		}

		&.fade-up {
			> .container {
				@include vendor('transform', 'translate(0,0)');
				@include vendor('transition', 'transform 1s ease, opacity 1s ease');
				opacity: 1;
			}

			&.inactive {
				> .container {
					@include vendor('transform', 'translate(0,1em)');
					opacity: 0;
				}
			}
		}

		&.fade {
			> .container {
				@include vendor-property('transition', 'opacity 1s ease');
				opacity: 1;
			}

			&.inactive {
				> .container {
					opacity: 0;
				}
			}
		}
	}

/* Dropotron */

	.dropotron {
		background: $color-accent2-bg-transparent;
		border-radius: $size-border-radius;
		box-shadow: 0 0.075em 0.35em 0 rgba(0,0,0,0.125);
		list-style: none;
		margin-top: calc(-0.25em + 1px);
		min-width: 12em;
		padding: 0.25em 0;

		> li {
			border-top: solid 1px rgba(255,255,255,0.035);
			padding: 0;

			a, span {
				border: 0;
				color: $color-fg;
				display: block;
				padding: 0.1em 1em;
				text-decoration: none;
			}

			&:first-child {
				border-top: 0;
			}

			&.active {
				> a, > span {
					color: $color-accent1-bg;
				}
			}
		}

		&.level-0 {
			font-size: 0.8em;
			margin-top: 1em;

			&:before {
				@include vendor-property('transform', 'rotate(45deg)');
				background: $color-accent2-bg;
				content: '';
				display: block;
				height: 1em;
				position: absolute;
				right: 1.5em;
				top: -0.5em;
				width: 1em;
			}
		}
	}

	body.landing {
		.dropotron {
			&.level-0 {
				margin-top: 0;
			}
		}
	}

/* Header */

	#skel-layers-wrapper {
		padding-top: 3.5em;
	}

	#header {
		background: $color-accent2-bg-transparent;
		box-shadow: 0 0 0.25em 0 rgba(0,0,0,0.25);
		cursor: default;
		height: 3.5em;
		left: 0;
		line-height: 3.5em;
		position: fixed;
		top: 0;
		width: 100%;
		z-index: 100;

		h1 {
			height: inherit;
			left: 1.25em;
			line-height: inherit;
			margin: 0;
			position: absolute;
			top: 0;
		}

		nav {
			position: absolute;
			right: 1em;
			top: 0;

			ul {
				margin: 0;

				li {
					display: inline-block;
					margin-left: 1em;

					a, span {
						border: 0;
						color: inherit;
						display: inline-block;
						height: inherit;
						line-height: inherit;
						outline: 0;

						&.button {
							height: 2em;
							line-height: 2em;
							padding: 0 1.25em;
						}

						&:not(.button):before {
							margin-right: 0.5em;
						}
					}

					&.active {
						> a, > span {
							color: $color-accent1-bg;
						}
					}

					> ul {
						display: none;
					}
				}
			}
		}
	}

	body.landing {
		#skel-layers-wrapper {
			padding-top: 0;
		}

		#header {
			background: transparent;
			box-shadow: none;
			position: absolute;
		}
	}

/* Banner */

	#banner {
		background-attachment: fixed;
		background-color: $color-accent2-bg;
		background-image: url('../images/banner.jpg');
		background-position: center center;
		background-size: cover;
		box-shadow: 0 0.25em 0.5em 0 rgba(0,0,0,0.25);
		min-height: 100vh;
		position: relative;
		text-align: center;
		z-index: ($max-spotlight + 1);

		&:before {
			content: '';
			display: inline-block;
			height: 100vh;
			vertical-align: middle;
			width: 1%;
		}

		&:after {
			@include vendor-value('background-image', 'linear-gradient(top, #{$color-bg-transparent}, #{$color-bg-transparent}), url("images/overlay.png");');
			content: '';
			display: block;
			height: 100%;
			left: 0;
			position: absolute;
			top: 0;
			width: 100%;
		}

		.content {
			display: inline-block;
			margin-right: 1%;
			max-width: 95%;
			padding: $size-wrapper-pad-tb;
			position: relative;
			text-align: right;
			vertical-align: middle;
			z-index: 1;

			header {
				display: inline-block;
				vertical-align: middle;

				h2 {
					font-size: 2.5em;
					margin: 0;
				}

				p {
					margin: ($size-element-margin * 0.25) 0 0 0;
					top: 0;
				}
			}

			.image {
				border-radius: 100%;
				display: inline-block;
				height: 18em;
				margin-left: 3em;
				vertical-align: middle;
				width: 18em;

				img {
					border-radius: 100%;
					display: block;
					width: 100%;
				}
			}
		}
	}

	body.is-touch {
		#banner {
			background-attachment: scroll;
		}
	}

/* Footer */

	#footer {
		background: $color-accent2-bg;
		padding: $size-wrapper-pad-tb 0;
		text-align: center;

		.icons {
			.icon {
				&.alt {
					@include line-icon($color-accent2-bg, $color-fg-light);
				}
			}
		}

		.copyright {
			color: $color-fg-light;
			font-size: 0.8em;
			line-height: 1em;
			margin: 2em 0 0 0;
			padding: 0;
			text-align: center;

			li {
				border-left: solid 1px $color-border;
				display: inline-block;
				list-style: none;
				margin-left: 1.5em;
				padding-left: 1.5em;

				&:first-child {
					border-left: 0;
					margin-left: 0;
					padding-left: 0;
				}

				a {
					color: inherit;
				}
			}
		}
	}